﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Aoxuelf.MDSTool.Utils
{
    public static class SafeGuard
    {
        public static void NotArgNull(string value, string paramName)
        {
            if (string.IsNullOrEmpty(value))
            {
                throw new ArgumentNullException(paramName);
            }
        }


        public static void NotNull(object value)
        {
            if (value == null)
            {
                throw new ArgumentNullException();
            }
        }
    }
}
